import Vue from 'vue'
import Vuex from 'vuex'
import selectedQstragery from './selectedQstragery'
import qstrageryDetail from './qstrageryDetail'
import qstrageryByCountry from './qstrageryByCountry'
import user from './user'
import idmessage from './idmessage'
import idmessageBack from './idmessageBack'
import idFront from './idFront'
import idBack from './idBack'
import personMoney from './personMoney'
import sendCode from './sendCode'
import strategyRouterState from './strategy/routerState'
import lab from './lab/lab'
import labTag from './lab/labTag'
import countryboxscroll from './strategy/countryboxscroll'
import postLab from './lab/postLab'
import networkState from './network'
import reload from './reload'
import reloadState from './strategy/reloadState'
//签名成功的状态
import signSuccess from './signSuccess'
import sign from './sign'
// 认购成功
import buySuccess from './sucess/buySuccess'
import followSuccess from './sucess/followSuccess'
//开户信息
import openData from './openData'
import loading from './loading'
import type from './open/type'
import strategyActive from './strategyActive.js'

Vue.use(Vuex)


export default new Vuex.Store({
  modules: {
    selectedQstragery,
    qstrageryDetail,
    qstrageryByCountry,
    idmessage,
    idmessageBack,
    idFront,
    idBack,
    lab,
    labTag,
    postLab,
    networkState,
    personMoney,
    sendCode,
    loading,
    user,
    reloadState,
    countryboxscroll,
    sign,
    signSuccess,
    reload,
    buySuccess,
    followSuccess,
    openData,
    strategyRouterState,
    type,
    strategyActive
  }
})
